package com.tjise.g_fats_enemy.springboot.dao;

import com.tjise.g_fats_enemy.springboot.po.TopDiscount;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface TopDiscountDao {
    @Select("SELECT * from top_discount ORDER BY price_discount DESC LIMIT 8")
    List<TopDiscount> findTopDiscount();
}
